package user.service;

import mall.entity.User;
import mall.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;
import java.util.ArrayList;
import java.util.List;

@DubboService
@Slf4j
public class UserServiceImpl implements UserService {

	@Override
	public List<User> list() {
		log.info("查询user列表");
		return new ArrayList<>();
	}

	@Override
	public User getById(Integer id) {
		log.info("user");
		User user = new User();
		user.setId(id);
		return user;
	}
}